package com.mysite.angular.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mysite.angular.mapper.AcOrgMapper;
import com.mysite.angular.po.AcOrg;

@Service
public class OrgService {

	@Autowired
	private AcOrgMapper acOrgMapper;

	public List<AcOrg> getChildren(Map<String, Object> searchMap) {
		return acOrgMapper.getChildren(searchMap);
	}

	public int delete(AcOrg org) {
		return acOrgMapper.delete(org);
	}
}
